home *** CD-ROM | disk | FTP | other *** search
/ CD Actual 22 / PC Actual CD 22.iso / SHARE / prog / POVRAY / TREES_3A.ZIP / Sample.pov < prev    next >
Encoding:
Text File  |  1997-05-04  |  2.4 KB  |  148 lines

  1. // Persistence of Vision Ray Tracer Scene Description File
  2. // File: Sample.pov
  3. // Vers: 3.00e Watcom Win32
  4. // Desc: Sample imahe of trees
  5. // Date: May 5, 1997
  6. // Auth: Sonya Roberts
  7. // Note: Sample Trees
  8.  
  9. // ==== Standard Includes ====
  10. #include "COLORS.inc"
  11. #include "TEXTURES.inc"
  12. #include "METALS.inc"
  13. #include "SHAPES.inc"
  14. #include "STONES.inc"
  15. #include "STONES2.inc"
  16. #include "WOODMAPS.inc"
  17. #include "WOODS.inc"
  18. #include "GLASS.inc"
  19.  
  20. #declare True=1
  21. #declare False=0
  22.  
  23. camera {
  24.     location    <0,10,-25>
  25.     up        <0,1,0>
  26.     right        <1.33,0,0>
  27.     look_at        <0,10,0>
  28. }
  29.  
  30. light_source {
  31.     <200,200,-200>,
  32.     color White
  33.     area_light
  34.     <15,0,0>,<0,15,0>,6,6
  35.     adaptive 2
  36.     jitter
  37. }
  38.  
  39. light_source {
  40.     <-200,100,-20>,
  41.     color Gray30
  42. }
  43.  
  44. object {
  45.     sphere {<0,0,0>,5000}
  46.     hollow
  47.     texture {
  48.         pigment {
  49.             gradient y
  50.             color_map {
  51.                 [0    color LightBlue]
  52.                 [1.0    color NavyBlue]
  53.             }
  54.             scale <1,5000,1>
  55.         }
  56.     }
  57.     texture {
  58.         pigment {
  59.             bozo
  60.             turbulence 0.5
  61.             octaves 3
  62.             lambda 6.0
  63.             color_map {
  64.                 [0.0 color rgbf <1, 1, 1, 1>]
  65.                 [0.8 color rgb <0.737, 0.788, 0.820>]
  66.                 [1.0 color rgb <1, 1, 1>]
  67.             }
  68.         }
  69.         finish {
  70.             ambient 1.0
  71.             diffuse 0.0
  72.         }
  73.         scale <3000, 1500, 2000>
  74.     }
  75. }
  76.  
  77. object {
  78.     plane {<0,1,0>,0}
  79.     pigment {color SpringGreen}
  80. }
  81.  
  82. object {
  83.     #declare LeafShape=6
  84.     #declare LeafTexture=2
  85.     #declare BarkTexture=5
  86.     #include "trees.inc"
  87.     translate <-6,0,0>
  88. }
  89.  
  90. object {
  91.     #include "defaults.inc"
  92.     #declare IncSplits=1.1
  93.     #declare IncXDeg=2
  94.     #declare Tip=3
  95.     #declare TipPercent=.9
  96.     #declare FlowerShape=5
  97.     #declare FlowerTexture=5
  98.     #declare TipOther=2
  99.     #declare FruitShape=1
  100.     #declare Fruits=
  101.     object {
  102.         torus {.25,.15}
  103.         rotate x*90
  104.         translate <0,.25,0>
  105.         texture {
  106.             pigment {color Coral}
  107.             finish {
  108.                 ambient .3
  109.             }
  110.         }
  111.     }
  112.     #declare LeafShape=1
  113.     #declare Leave=
  114.     object {
  115.         sphere {<0,0,.195>,.2}
  116.         scale <.75,.1,1.5>
  117.     }
  118.     #include "trees.inc"
  119.     texture {
  120.         pigment {
  121.             bozo
  122.             color_map {
  123.                 [0 color Cyan]
  124.                 [1 color Aquamarine]
  125.             }
  126.         }
  127.         finish {
  128.             ambient .3
  129.         }
  130.         scale <3,3,3>
  131.     }
  132.     translate <6,0,0>
  133. }
  134.  
  135. object {
  136.     #include "defaults.inc"
  137.     #declare BarkTexture=2
  138.     #declare LeafShape=3
  139.     #declare LeafTexture=4
  140.     #declare MaxSplits=5
  141.     #declare MinSplits=4
  142.     #declare BaseLen=1.25
  143.     #declare SD1=seed(30)
  144.     #declare LeafRandRot=True
  145.     #include "trees.inc"
  146.     translate <0,0,5>
  147. }
  148.